package com.bwie.param;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 红包表
 * @TableName tb_red_envelope
 */
@Data
public class TbRedEnvelopeParam implements Serializable {

    private Integer page = 1;
    private Integer limit = 2;

    /**
     * 编号
     */
    private Integer redEnvelopeId;

    /**
     * 红包主题
     */
    private String redEnvelopeTheme;

    /**
     * 红包金额
     */
    private Integer price;

    /**
     * 红包发送时间
     */
    private Date sendTime;

    /**
     * 红包总个数
     */
    private Integer num;

    /**
     * 红包剩余金额
     */
    private Integer remainderPrice;

    /**
     * 红包已领取个数
     */
    private Integer collectNum;

    /**
     * 持续时长
     */
    private Integer continueTime;

    /**
     * 红包状态
     */
    private Integer status;

    /**
     * 是否抢到
     */
    private Integer getIt;
    private Integer userId;

    private Date startTime;

    private Date endTime;

    private Integer minPrice;
    private Integer maxPrice;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}